module.exports = {
    css: {
        loaderOptions: {
            less: {
                lessOptions: {
                    javascriptEnabled: true,
                },
            },
        },
    },
    publicPath: "./",
    devServer:{
        proxy: {
            '/api' : {
                target : 'http://192.168.1.2:80/'
            },
            '/filesystem':{
                target : 'http://192.168.1.2:80/'
            },
            '/interface' : {
                target : 'http://192.168.1.2:80/'
            },
            '/' : {
                target : 'http://192.168.1.2:80/'
            }
        } 
    },
    chainWebpack: config => {
        config
          .plugin('html')
          .tap(args => {
            args[0].title= '南钢诉讼系统'
            return args
          })
      }


}